<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>仿有道词典</title>
<link href="css/mui.css" rel="stylesheet"/>
</head>
<body>
<div class="mui-content">
    <div style="margin-top:25px;">
        <ul class="mui-table-view">
            <li class="mui-table-view-cell mui-media">
                <a href="javascript:;">
                    <img class="mui-media-object mui-pull-left" src="" id="face">
                    <div class="mui-media-body" id="name"></div>
                </a>
            </li>
        </ul>
    </div>
    <div style="margin-top:28px;">
        <ul class="mui-table-view">
            <li class="mui-table-view-cell"><a href="javascript:void();" class="mui-navigate-right">其他功能</a></li>
            <li class="mui-table-view-cell"><a href="javascript:void();" class="mui-navigate-right">其他功能</a></li>
            <li class="mui-table-view-cell"><a href="javascript:void();" class="mui-navigate-right">其他功能</a></li>
            <li class="mui-table-view-cell"><a href="javascript:void();" class="mui-navigate-right">其他功能</a></li>
        </ul>
    </div>
    <div style="margin-top:28px;">
        <ul class="mui-table-view">
            <li class="mui-table-view-cell"><a href="javascript:logoff();" class="mui-navigate-right">退出登录</a></li>
        </ul>
    </div>
</div>

<script src="js/mui.min.js"></script>	
<script type="text/javascript" src="js/h.js" ></script>
<script type="text/javascript" charset="utf-8">
mui.init();
var _index, _self, _prev;
mui.plusReady(function(){
    _self = plus.webview.currentWebview();
    _prev = plus.webview.getWebviewById('sub3.html');
    _index = plus.webview.getLaunchWebview();
    _self.drag(
        {
            direction : "right",
            moveMode  :　"followFinger"
        },
        {
            view　              :　_prev,
            moveMode  : "follow"
        },
        function(e){
            if(e.type == 'end' && e.result){
				_index.evalJS("h('#tabBar').find('a').removeClass('mui-active'); h('#nav3').addClass('mui-active');");
			}
        }
    );
});
h('#face').attr('src',plus.storage.getItem('sface'));
h('#name').html(plus.storage.getItem('snickname'));
</script>
</body>
</html>